<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
 "http://www.w3.org/TR/html4/loose.dtd">
 <html>
	<head>
		<title>Fonctions IF/ELSE/ELSEIF</title>
	</head>
	<body>
		<h2>Les fonctions IF/ELSE/ELSEIF</h2>
		
		{if $smarty_userIsAdmin == 'true'}
			<div>Salut administrateur</div>
		{else}
			<div>Salut utilisateur lambda !!</div>
		{/if}
		  
	</body>
</html>